package com.rf.richfitwheel.dyn.business.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;



/**
 * 组件调用的外部接口 实体类。
 *
 * @author richfitwheel
 * @since 2025-02-18
 */
@Table("sys_form_designer_api")
public class SysFormDesignerApi implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 组件ID
     */
    private String formId;

    /**
     * 服务类型:1-内部、2-外部
     */
    private String apiType;

    /**
     * 接口地址
     */
    private String apiUrl;

    /**
     * 请求方法：get、post
     */
    private String apiMethod;

    /**
     * 请求头脚本
     */
    private String apiHeadScript;

    /**
     * 请求体脚本
     */
    private String apiBodyScript;

    /**
     * 请求头
     */
    private String apiHead;

    /**
     * 请求体
     */
    private String apiBody;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getApiType() {
        return apiType;
    }

    public void setApiType(String apiType) {
        this.apiType = apiType;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public String getApiMethod() {
        return apiMethod;
    }

    public void setApiMethod(String apiMethod) {
        this.apiMethod = apiMethod;
    }

    public String getApiHeadScript() {
        return apiHeadScript;
    }

    public void setApiHeadScript(String apiHeadScript) {
        this.apiHeadScript = apiHeadScript;
    }

    public String getApiBodyScript() {
        return apiBodyScript;
    }

    public void setApiBodyScript(String apiBodyScript) {
        this.apiBodyScript = apiBodyScript;
    }

    public String getApiHead() {
        return apiHead;
    }

    public void setApiHead(String apiHead) {
        this.apiHead = apiHead;
    }

    public String getApiBody() {
        return apiBody;
    }

    public void setApiBody(String apiBody) {
        this.apiBody = apiBody;
    }

}
